package com.sxau.software_educational_system_backend.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel
public class ReqLoginDTO {
    @NotBlank(message = "notnull.params")
    @ApiModelProperty("用户名")
    private String username;

    @NotBlank(message = "notnull.params")
    @ApiModelProperty("密码")
    private String password;
}